package com.obas.model.business;

import java.util.Date;

public class CustomerNetworkServing extends Entity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4027049771639179820L;

	public static final String ATTRIBUTE_customerId = "customerId";

	public static final String ATTRIBUTE_networkServingType = "networkServingType";

	public static final String ATTRIBUTE_networkServingId = "networkServingId";

	private long customerId;

	private Customer customer;
	private String customerUsername;

	private long zendDeviceId;
	private Device zendDevice;

	private short networkServingType;

	private long networkServingId;

	private short bindType;
	private String bindAttr;
	private String cvlan;
	private double bandwidth;
	private double upBandwidth;
	private Date batchTimestamp;

	/**
	 * @return the customerId
	 */
	public long getCustomerId() {
		return customerId;
	}

	/**
	 * @param customerId
	 *            the customerId to set
	 */
	public void setCustomerId(long customerId) {
		this.customerId = customerId;
	}

	/**
	 * @return the networkServingType
	 */
	public short getNetworkServingType() {
		return networkServingType;
	}

	/**
	 * @param networkServingType
	 *            the networkServingType to set
	 */
	public void setNetworkServingType(short networkServingType) {
		this.networkServingType = networkServingType;
	}

	/**
	 * @return the bindType
	 */
	public short getBindType() {
		return bindType;
	}

	/**
	 * @param bindType
	 *            the bindType to set
	 */
	public void setBindType(short bindType) {
		this.bindType = bindType;
	}

	/**
	 * @return the bindAttr
	 */
	public String getBindAttr() {
		return bindAttr;
	}

	/**
	 * @param bindAttr
	 *            the bindAttr to set
	 */
	public void setBindAttr(String bindAttr) {
		this.bindAttr = bindAttr;
	}

	/**
	 * @return the cvlan
	 */
	public String getCvlan() {
		return cvlan;
	}

	/**
	 * @param cvlan
	 *            the cvlan to set
	 */
	public void setCvlan(String cvlan) {
		this.cvlan = cvlan;
	}

	/**
	 * @return the bandwidth
	 */
	public double getBandwidth() {
		return bandwidth;
	}

	/**
	 * @param bandwidth
	 *            the bandwidth to set
	 */
	public void setBandwidth(double bandwidth) {
		this.bandwidth = bandwidth;
	}

	/**
	 * @return the upBandwidth
	 */
	public double getUpBandwidth() {
		return upBandwidth;
	}

	/**
	 * @param upBandwidth
	 *            the upBandwidth to set
	 */
	public void setUpBandwidth(double upBandwidth) {
		this.upBandwidth = upBandwidth;
	}

	/**
	 * @return the batchTimestamp
	 */
	public Date getBatchTimestamp() {
		return batchTimestamp;
	}

	/**
	 * @param batchTimestamp
	 *            the batchTimestamp to set
	 */
	public void setBatchTimestamp(Date batchTimestamp) {
		this.batchTimestamp = batchTimestamp;
	}

	/**
	 * @return the customer
	 */
	public Customer getCustomer() {
		return customer;
	}

	/**
	 * @param customer
	 *            the customer to set
	 */
	public void setCustomer(Customer customer) {
		this.customer = customer;
	}

	/**
	 * @return the zendDeviceId
	 */
	public long getZendDeviceId() {
		return zendDeviceId;
	}

	/**
	 * @param zendDeviceId
	 *            the zendDeviceId to set
	 */
	public void setZendDeviceId(long zendDeviceId) {
		this.zendDeviceId = zendDeviceId;
	}

	/**
	 * @return the zendDevice
	 */
	public Device getZendDevice() {
		return zendDevice;
	}

	/**
	 * @param zendDevice
	 *            the zendDevice to set
	 */
	public void setZendDevice(Device zendDevice) {
		this.zendDevice = zendDevice;
	}

	/**
	 * @return the customerUsername
	 */
	public String getCustomerUsername() {
		return customerUsername;
	}

	/**
	 * @param customerUsername
	 *            the customerUsername to set
	 */
	public void setCustomerUsername(String customerUsername) {
		this.customerUsername = customerUsername;
	}

	/**
	 * @return the networkServingId
	 */
	public long getNetworkServingId() {
		return networkServingId;
	}

	/**
	 * @param networkServingId
	 *            the networkServingId to set
	 */
	public void setNetworkServingId(long networkServingId) {
		this.networkServingId = networkServingId;
	}

}
